<%--
  Created by IntelliJ IDEA.
  User: ztc
  Date: 16-3-22
  Time: 上午10:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<%
  String stuID=request.getParameter("stuID");
  String stuName=request.getParameter("stuName");
  String count=request.getParameter("count");
  String ip=request.getRemoteAddr();
  String name=request.getRemoteHost();
  if(request.getAttribute("flag")!=null&&((String) request.getAttribute("flag")).equals("true")) {
    out.println("<h1>"+stuID + " " + stuName + " " + "签到成功 " + ip + " " + name + " No. " + count+"</h1>");
  }else{
    out.println("<h1>链接失效！</h1>");
  }
%>
<body>

</body>
</html>
